package com.yixin.hospital.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yixin.hospital.entity.bo.PurchaseOrderDetail;
import com.yixin.hospital.entity.domain.AuditFlow;
import com.yixin.hospital.entity.domain.AuditFlowDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class PurchaseOrderDetailVO {

    private Long id;
    private String code;
    private String plan;
    private String type;
    private Long applyDepository;
    private String applyDepositoryName;
    private Long dept;
    private String deptName;
    private Long supplier;
    private Integer drugTypeNum;
    private Integer drugNum;
    private Integer status;
    private Integer auditStatus;
    private Integer godownStatus;
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    private List<PurchaseOrderDetail> purchaseOrderDrugList;

    private AuditFlowPresetVO auditFlowDetail;
}
